@echo off
setlocal EnableDelayedExpansion
 if not "%1"=="" (
	<nul (set/p z=Time to waste:)
	for /l %%A in (1,1,%1) do ( 
		<nul (set/p z=-)
	)
	echo.
	<nul (set/p z=  Time wasted:)
	for /l %%A in (1,1,%1) do ( 
		REM this is just a delay - there's no sleep command! WTF!
		PING -n 2 127.0.0.1>nul
		REM this prints the . without a CRLF
        <nul (set/p z=-) 
    ) 
)
if "%1"=="5" (
    start "new waiter" /SEPARATE "%~f0" %*
)
if "%2"=="x" (
    exit
)